home *** CD-ROM | disk | FTP | other *** search
- { %filename% -- window methods }
- { Created %date% %time% by AppMaker }
-
- { This module overrides the AppMaker-generated code in z%WindName%.% %}
- { It provides a place for you to add your own code and still be able to }
- { generate code for new changes to the user interface. This module will }
- { not be regenerated by AppMaker unless you delete it. Its superclass, }
- { z%WindName%, may be regenerated to handle user interface changes% %}
- { without losing your hand-coded changes to this module. }
-
- Unit %unitname%;
- Interface
-
- Uses
- TCL,
- AMCL,
- %AppName%Intf;
-
- {----------}
- Implementation
-
- %for each item gen defineItem%
-
- {----------}
- Procedure C%WindName%.I%WindName% (aSupervisor: CDirector;
- theData: C%appname%Data);
- Begin
- itsData := theData;
- inherited IZ%WindName% (aSupervisor);
- gDecorator.StaggerWindow (self);
-
- {any additional initialization for your window}
-
- End; {I%WindName%}
-
- %for each item gen auxiliaryMethod%
- {----------}
- Procedure C%WindName%.UpdateMenus;
- Begin
- inherited UpdateMenus;
-
- End; {UpdateMenus}
-
- {----------}
- Procedure C%WindName%.DoCommand (theCommand: longint);
- Begin
- case theCommand of
- 0: ;
- %for each item gen DoCommand%
-
- otherwise
- inherited DoCommand (theCommand);
- end; {case}
- End; {DoCommand}
-
- {----------}
- Procedure C%WindName%.ProviderChanged% %(aProvider: CCollaborator;
- reason: longint;
- info: univ Ptr);
-
- Begin
- %for each item gen ProviderChanged%
-
- End; {ProviderChanged}
-
- End. {%unitname%}
-